# 1 设置最低版本号
cmake_minimum_required(VERSION 3.18)

# 2 设置项目名称
project(TestMyMath
    LANGUAGES CXX
)

# 3 添加目录层级
add_subdirectory(my_lib)

add_subdirectory(app)

# 4 开启打包功能
include(CPack)
set(CPACK_PACKAGE_NAME "MyApp")
set(CPACK_PACKAGE_VERSION "1.0.0")
set(CPACK_GENERATOR "TGZ")